Skip to main content

The Shop Plugin

This plugin is made for economy servers. It features 2 main commands: /shop and /editshop

/shop Info#

/shop has no arguments(sub commands), it opens the shop.

/editshop Info#

/editshop is an OP only command since it's used to edit the items of the shop, it has 5 main sub commands(they have to be in order or the command will fail).

SubCommands#

  • Category, Type: String
  • Procedure, Type: String
  • Material, Type: String
  • Price, Type: Positive Integer
  • Quantity, Type: Positive Integer
  • Material2 (seldom, check READ THIS for more info), Type: String

Sub Command Definitions:#

  • Category: Category is the type of the material that is being added, there are 6 main types: blocks weapons tools customs redstone and currency. the blocks type is used for building blocks i.e: stone, the weapons and tools types are self-explanatory, redstone is used for redstone materials i.e: observer, customs is used for custom items and enchanted items, in other words any modified vanilla or non vanilla item falls under this type, currency is for currency exchanges, in other words trading diamonds for any other valuable ingot(s), i.e: gold ingots.

  • Procedure: Procedure is the process of adding or removing an item from the shop. add and remove. Please note that if the Category is customs, the sub commands will become: customadd and customrem and the Material and Quantity shall not be included, i.e: /editshop customs customadd/customrem 1, with 1 being the Price.

  • Material: it's the item material i.e diamond. NOTE: don't use spaces, use _ between every word, i.e: diamond_sword.

  • Price: it's the price in diamonds. The input has to be a positive integer, without the word diamonds, i.e: 8.

  • Quantity: it's the quantity of the item being sold, The input has to be a positive integer, i.e: 8

READ THIS:#

If the Category is currency, then there will be an extra field, Material2, it's gonna be the material of the price, i.e, gold ingots. That way it's possible to buy diamonds. Command example: /editshop currency add diamond 64 1 gold_ingot

Command examples:#

/editshop blocks add stone 64 1

/editshop blocks remove bedrock 3 2

/editshop customs customadd 2